function doForm() {
    var o_pwd = $("#o_pwd").val();
    var n_pwd = $("#n_pwd").val();
    var ag_n_pwd = $("#ag_n_pwd").val();

    if (o_pwd == "" || n_pwd == "" || ag_n_pwd == "") {
        layer.alert("请填写完整密码！");
        return false;
    }
    if (n_pwd != ag_n_pwd) {
        layer.alert("两次新密码输入不一致！");
        return false;
    }
    $.post("/app/member/userInfo/userpwd/action/login", {
        LoginPass_1: o_pwd,
        LoginPass_2: n_pwd,
        LoginPass_3: ag_n_pwd
    }, function (data) {
        if (data.status <= 0) {
            layer.alert(data.info);
            $("input").val("");
            return false;
        } else {
            layer.alert(data.info);
            $("input").val("");
        }
    }, "json");
}

function doForm2() {
    var o_pwd = $("#o_pwd").val();
    var n_pwd = $("#n_pwd").val();
    var ag_n_pwd = $("#ag_n_pwd").val();

    if (o_pwd == "" || n_pwd == "" || ag_n_pwd == "") {
        layer.alert("请填写完整密码！");
        return false;
    }
    if (n_pwd != ag_n_pwd) {
        layer.alert("两次新密码输入不一致！");
        return false;
    }
    $.post("/app/member/userInfo/userpwd/action/money", {
        MoneyPass_1: o_pwd,
        MoneyPass_2: n_pwd,
        MoneyPass_3: ag_n_pwd
    }, function (data) {
        if (data.status <= 0) {
            layer.alert(data.info);
            $("input").val("");
            return false;
        } else {
            layer.alert(data.list.msg);
            $("input").val("");
        }
    }, "json");
}


